﻿namespace Entity;
/// <summary>
/// 客户信息
/// </summary>
public class Client : MoneyBaseEntity
{
    /// <summary>
    /// openId
    /// </summary>
    [SugarColumn(IsNullable = true)]
    public string? OpenId { get; set; }

    /// <summary>
    /// 关联编号
    /// </summary>
    public string? Unionid { get; set; } = "";

    /// <summary>
    /// 姓名
    /// </summary>
    public string? Name { get; set; } = "";

    /// <summary>
    /// 手机号
    /// </summary>
    public string? Phone { get; set; } = "";

    /// <summary>
    /// 头像
    /// </summary>
    public string? Avatar { get; set; } = "";

    /// <summary>
    /// 平台
    /// </summary>
    public string? Platform { get; set; } = "applet";

    /// <summary>
    /// 是否绑定了手机号
    /// </summary>
    public bool BindPhone { get; set; } = false;

    /// <summary>
    /// 是否绑定了用户信息
    /// </summary>
    public bool BindUserInfo { get; set; } = false;

    /// <summary>
    /// 推荐人
    /// </summary>
    public int Pid { get; set; } = 0;

    /// <summary>
    /// 用户首次创建所属商户
    /// </summary>
    public int CreatedStoreId { get; set; }

}


